package com.gin.fanbox.response;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.gin.fanbox.response.field.PostCover;
import com.gin.fanbox.response.field.UserInfo;
import lombok.Getter;
import lombok.Setter;

import java.time.ZonedDateTime;
import java.util.List;

/**
 * 作品信息
 *
 * @author bx002
 * @since 2024/2/5 15:13
 */
@Getter
@Setter
public class PostInfo {
    /**
     * 要求的赞助费用
     */
    int feeRequired;

    /**
     * 封面
     */
    PostCover cover;

    List<String> tags;

    String creatorId;

    @JsonAlias("user")
    UserInfo userInfo;

    int likeCount;

    long id;

    ZonedDateTime publishedDatetime;

    String title;
    /**
     * 摘录
     */
    String excerpt;


    ZonedDateTime updatedDatetime;

    boolean isRestricted;

    boolean hasAdultContent;

}
